﻿<!DOCTYPE html >
<html lang="en" xmlns:th="http://www.thymeleaf.org">
  <head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>My JSP 'valid-list.jsp' starting page</title>
		 <link rel="stylesheet"
			href="../../../css/table.css" type="text/css">
		<link rel="stylesheet"
			href="../../../css/cwcalendar.css" type="text/css">
		<script type="text/javascript"
			src="../../../javascript/comm/comm.js">
		</script>
		<script type="text/javascript"
			src="../../../javascript/comm/list.js">
		</script>
		<script type="text/javascript"
			src="../../../javascript/calendar-ch.js">
		</script>
		<script type="text/javascript"
			src="../../../javascript/jquery-1.7.2.js">
		</script>
		<script type="text/javascript"
			src="../../../javascript/locate.js">
		</script>
		<script type="text/javascript"
			src="../../../javascript/select.js">
		</script>

	  <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css"></link>
	  <script type="text/javascript" src="js/jquery.min.js"></script>
	  <script type="text/javascript" src="js/bootstrap.min.js"></script>
     </head>

	<body>
		<form method="post" action="valid_list" name="f1">
			<input type="hidden" name="human_major_id" th:value="${ee.human_major_id}" />
			<input type="hidden" name="ppt" th:value="${ee.ppt}" />
			<input type="hidden" name="regist_timeBegin" th:value="${ee.regist_timeBegin}"/>
			<input type="hidden" name="regist_timeEnd" th:value="${ee.regist_timeEnd}" />
		<input type="hidden" name="utilBean.currPage" id="page"/>
			<table width="100%">
				<tr>
					<td>
						<font color="black">您正在做的业务是：人力资源--招聘管理--简历管理--有效简历列表 
						</font>
					</td>
				</tr>
			 <tr>
					<td align="right"> 
						<input type="button" value="返回" class="BUTTON_STYLE1" onclick="history.back();">
					</td>
				</tr>
			</table> 
			<table width="100%" border="1" cellpadding=0 cellspacing=1
				bordercolorlight=#848284 bordercolordark=#eeeeee
				class="TABLE_STYLE1">
				<tr>
					<td width="15%" class="TD_STYLE1">
						档案编号
					</td>
					<td width="15%" class="TD_STYLE1">
						姓名
			     	</td>
					<td width="15%" class="TD_STYLE1">
						性别
					</td>
					<td width="15%" class="TD_STYLE1">
						职位分类
					</td>
					<td width="10%" class="TD_STYLE1">
						职位名称
					</td>
					<td width="10%" class="TD_STYLE1">
						电话号码
					</td>
					<td width="10%" class="TD_STYLE1">
						复核状态
					</td>
					<td width="10%" class="TD_STYLE1">
						面试状态
					</td>
				</tr>

				<div th:each="m:${maps}">
					<tr>
						<td class="TD_STYLE2">
                     <a   th:href="|valid_list_selectOne?id=${m.res_id}|" th:text="${m.res_id}"></a>
						</td>
						<td class="TD_STYLE2" th:text="${m.human_name}">

						</td>
						<td class="TD_STYLE2" th:text="${m.human_sex}">

						</td>
						<td class="TD_STYLE2" th:text="${m.major_kind_name}">


						</td>
						<td class="TD_STYLE2" th:text="${m.major_name}">

						</td>
						<td class="TD_STYLE2" th:text="${m.human_telephone}">

						</td>
						<td class="TD_STYLE2" th:text="${m.check_status==0?'待复核':'已复核'}">

						</td>
						<td class="TD_STYLE2" th:text="${m.interview_status==0?'待面试':'已面试'}">

						</td>
					</tr>
				</div>
			</table>
			<!--显示分页信息-->
			<div class="row">
				<!--文字信息-->
				<div class="col-md-6">
					当前第 <input name="startPage" th:value="${pageInfo.pageNum }"  style="width: 20px"/>/[[${pageInfo.pages}]]页.一共 [[${pageInfo.total}]] 条记录
				</div>
				<!--点击分页-->
				<div class="col-md-6">
					<nav aria-label="Page navigation">
						<ul class="pagination">
							<li><a href="javascript:f1.startPage.value=1;f1.submit()">首页</a></li>
							<!--上一页-->
							<li>
								<a th:if="${pageInfo.hasPreviousPage}" href="javascript:f1.startPage.value=f1.startPage.value-1;f1.submit()" aria-label="Previous">
									<span aria-hidden="true">«</span>
								</a>
							</li>
							<!--循环遍历连续显示的页面，若是当前页就高亮显示，并且没有链接-->
							<li th:each="page_num:${pageInfo.navigatepageNums}"   th:class="${page_num == pageInfo.pageNum?'active':''}" >
								<a href="#" th:text="${page_num}" th:if="${page_num == pageInfo.pageNum}"> </a>
								<a th:if="${page_num != pageInfo.pageNum}" th:href="|javascript:f1.startPage.value=${page_num};f1.submit()|" th:text="${page_num}"></a>
							</li>
							<!--下一页-->
							<li>
								<a th:if="${pageInfo.hasNextPage}" href="javascript:f1.startPage.value=f1.startPage.value-0+1;f1.submit()"
								   aria-label="Next">
									<span aria-hidden="true">»</span>
								</a>
							</li>
							<li><a th:href="|javascript:f1.startPage.value=${pageInfo.pages};f1.submit()|">尾页</a></li>
						</ul>
					</nav>
				</div>
			</div>
		</form>
		<script type="text/javascript">
		function up(currPage,row){  
		if(currPage<=0){
		document.getElementById("page").value = row;
		}else{
		document.getElementById("page").value =currPage; 
		}
		 document.fm.submit();
		}
		function down(currPage,row){ 
		if(currPage>=row){
		document.getElementById("page").value = row;
		}else{
		document.getElementById("page").value =currPage; 
		}
		 document.fm.submit();
		}
		function tj(row){
	     document.getElementById("page").value = document.getElementById("currPage").value;
	     if(document.getElementById("currPage").value>row){
	     alert("最大页数为"+row+",当前为第"+row+"页 ");
	     return false;
	     }
	     document.fm.submit();
	 	}
		</script>
	</body>
</html>